package cn.stylefeng.guns.modular.manager.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 路程价格
 * </p>
 *
 * @author yumker
 * @since 2021-01-07
 */
@TableName("flow_service_distance_price")
public class FlowServiceDistancePrice implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "distance_price_id", type = IdType.AUTO)
    private Long distancePriceId;

    @TableField("distance_price")
    private BigDecimal distancePrice;

    @TableField("distance_begin")
    private BigDecimal distanceBegin;

    @TableField("distance_end")
    private BigDecimal distanceEnd;

    @TableField("service_type_id")
    private Long serviceTypeId;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    @TableField("store_city_id")
    private Long storeCityId;

    @TableField("type")
    private Integer type;

    @TableField(exist = false)
    private String note;
    @TableField(exist = false)
    private double totalPrice;

    public double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public Long getDistancePriceId() {
        return distancePriceId;
    }

    public void setDistancePriceId(Long distancePriceId) {
        this.distancePriceId = distancePriceId;
    }

    public BigDecimal getDistancePrice() {
        return distancePrice;
    }

    public void setDistancePrice(BigDecimal distancePrice) {
        this.distancePrice = distancePrice;
    }

    public BigDecimal getDistanceBegin() {
        return distanceBegin;
    }

    public void setDistanceBegin(BigDecimal distanceBegin) {
        this.distanceBegin = distanceBegin;
    }

    public BigDecimal getDistanceEnd() {
        return distanceEnd;
    }

    public void setDistanceEnd(BigDecimal distanceEnd) {
        this.distanceEnd = distanceEnd;
    }

    public Long getServiceTypeId() {
        return serviceTypeId;
    }

    public void setServiceTypeId(Long serviceTypeId) {
        this.serviceTypeId = serviceTypeId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getStoreCityId() {
        return storeCityId;
    }

    public void setStoreCityId(Long storeCityId) {
        this.storeCityId = storeCityId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "FlowServiceDistancePrice{" +
                "distancePriceId=" + distancePriceId +
                ", distancePrice=" + distancePrice +
                ", distanceBegin=" + distanceBegin +
                ", distanceEnd=" + distanceEnd +
                ", serviceTypeId=" + serviceTypeId +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", storeCityId=" + storeCityId +
                ", type=" + type +
                "}";
    }
}
